package com.zhihuichongcheng.application.bean.approval;

import java.util.List;

/**
 * name        :      ApprovalChoiceBean
 * author      :      LK
 * email        :      developer_xs@126.com
 * createdAt  :      2017/12/30 11:11
 * version     :      v1.0
 */
public class ApprovalChoiceBean {
    private String name;
    private String field;
    private int type;
    private List<ParamsBean> params;
    private boolean selected;

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<ParamsBean> getParams() {
        return params;
    }

    public void setParams(List<ParamsBean> params) {
        this.params = params;
    }

    public static class ParamsBean {
        /**
         * key : 是
         * value : 0
         */
        private boolean selected = false;
        private String key;
        private String value;

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public boolean isSelected() {
            return selected;
        }

        public void setSelected(boolean selected) {
            this.selected = selected;
        }
    }
}
